// pages/myPage/myPage.js
//获取应用实例
const app = getApp()
const util = require('../../utils/util.js')
var that;
Page({

  /**
   * 页面的初始数据
   */
  data: {

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },
  //弹出提示电话
  showPhonenumber:function(){
    var phonelist = ['18941153507', '18640909666'];
    wx.showActionSheet({
      itemList: phonelist,
      success(res){
        console.log(res);
        wx.makePhoneCall({
          phoneNumber: phonelist[res.tapIndex],
        })
      }
    })
  },

  
})